import logging
logging.basicConfig(level=logging.INFO)

def compute_list(n):
    lst = [i for i in range(n)]
    return lst[n]  # 故意越界

if __name__ == "__main__":
    logging.info("start")
    x = compute_list(5)
    print("result:", x)
